package com.ccx.mytemplate.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@TableName("my_records")
public class MyRecords {
    private Integer id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @TableLogic
    private Integer isDel;
    private String createUser;
    private String updateUser;
    private String title;
    private String content;
    private String files;
    private String phone;

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
